﻿using System;

namespace Entities
{
    [Serializable]
    public class PhieuTTCuaKH
    {
        private int phieuttcuakhid;
        private string hanhdong;
        private string maPhieuTTCuaKH;
        private string maKho;
        private DateTime ngayLap;
        private string maKhachHang;
        private string tenKhachHang;
        private string maNhanVien;
        private string tongThanhToan;
        private string nohienthoi;
        private string nguoiNop;
        private bool loaiphieu;
        private string ghiChu;
        private bool deleted;


        Entities.TaiKhoan taiKhoan;
        public Entities.TaiKhoan TaiKhoan
        {
            get { return this.taiKhoan; }
            set
            {
                this.taiKhoan = value;
            }
        }
        public PhieuTTCuaKH()
        { }
        public PhieuTTCuaKH(int phieuttcuakhid, string hanhdong, string maPhieuTTCuaKH, DateTime ngayLap, string maKhachHang, string tenKhachHang, string maNhanVien, string maKho, string tongThanhToan, string nohienthoi, string nguoiNop, bool loaiphieu, string ghiChu, bool deleted, Entities.TaiKhoan taiKhoan)
        {
            this.taiKhoan = taiKhoan;
            this.phieuttcuakhid = phieuttcuakhid;
            this.hanhdong = hanhdong;
            this.maPhieuTTCuaKH = maPhieuTTCuaKH;
            this.maKho = maKho;
            this.ngayLap = ngayLap;
            this.maKhachHang = maKhachHang;
            this.tenKhachHang = tenKhachHang;
            this.maNhanVien = maNhanVien;
            this.tongThanhToan = tongThanhToan;
            this.nohienthoi = nohienthoi;
            this.nguoiNop = nguoiNop;
            this.loaiphieu = loaiphieu;
            this.ghiChu = ghiChu;
            this.deleted = deleted;
        }
        public int PhieuTTCuaKHID
        {
            get { return this.phieuttcuakhid; }
            set
            {
                this.phieuttcuakhid = value;
            }
        }

        public string HanhDong
        {
            get { return this.hanhdong; }
            set
            {
                this.hanhdong = value;
            }
        }

        public string MaPhieuTTCuaKH
        {
            get { return this.maPhieuTTCuaKH; }
            set
            {
                this.maPhieuTTCuaKH = value;
            }
        }
        public string MaKho
        {
            get { return this.maKho; }
            set
            {
                this.maKho = value;
            }
        }
        public DateTime NgayLap
        {
            get { return this.ngayLap; }
            set { this.ngayLap = value; }
        }
        public string MaKhachHang
        {
            get { return this.maKhachHang; }
            set { this.maKhachHang = value; }
        }
        public string TenKhachHang
        {
            get { return this.tenKhachHang; }
            set { this.tenKhachHang = value; }
        }
        public string MaNhanVien
        {
            get { return this.maNhanVien; }
            set { this.maNhanVien = value; }
        }
        public string TongThanhToan
        {
            get { return this.tongThanhToan; }
            set { this.tongThanhToan = value; }
        }
        public string NoHienThoi
        {
            get { return this.nohienthoi; }
            set { this.nohienthoi = value; }
        }
        public string NguoiNop
        {
            get { return this.nguoiNop; }
            set { this.nguoiNop = value; }
        }
        public bool LoaiPhieu
        {
            get { return this.loaiphieu; }
            set { this.loaiphieu = value; }
        }
        public string GhiChu
        {
            get { return this.ghiChu; }
            set { this.ghiChu = value; }
        }
        public bool Deleted
        {
            get { return this.deleted; }
            set { this.deleted = value; }
        }
  
    }
}